﻿using System.Linq;
using Configuration;
using Model;
using Repository.Common;

namespace Repository
{
    public class InformationRepository : Repository<Information>
    {
        public InformationRepository(Database context)
            : base(context)
        {
        }

        public Information GetFirst()
        {
            return this.GetQuery().FirstOrDefault();
        }
    }
}